package com.oms.domain;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * Massorganizationrole entity. @author MyEclipse Persistence Tools
 */

public class Massorganizationrole implements java.io.Serializable {

	

	/**
	 * 
	 */
	private static final long serialVersionUID = 5309205288395121384L;
	
	// Fields
	private Integer organizationRoleId;
	private Massorganization massorganization;
	private String organizationRoleName;
	private Short organizationRoleNameRoleLeavel;
	private Timestamp lastUpdateTime;
	private Boolean deleteTag;
	private String expandBar1;
	private String expandBar2;
	private Set roleAuthorities = new HashSet(0);
	private Set communeMemberinfos = new HashSet(0);

	// Constructors

	/** default constructor */
	public Massorganizationrole() {
	}

	/** minimal constructor */
	public Massorganizationrole(Massorganization massorganization,
			String organizationRoleName, Short organizationRoleNameRoleLeavel,
			Boolean deleteTag) {
		this.massorganization = massorganization;
		this.organizationRoleName = organizationRoleName;
		this.organizationRoleNameRoleLeavel = organizationRoleNameRoleLeavel;
		this.deleteTag = deleteTag;
	}

	/** full constructor */
	public Massorganizationrole(Massorganization massorganization,
			String organizationRoleName, Short organizationRoleNameRoleLeavel,
			Timestamp lastUpdateTime, Boolean deleteTag, String expandBar1,
			String expandBar2, Set roleAuthorities, Set communeMemberinfos) {
		this.massorganization = massorganization;
		this.organizationRoleName = organizationRoleName;
		this.organizationRoleNameRoleLeavel = organizationRoleNameRoleLeavel;
		this.lastUpdateTime = lastUpdateTime;
		this.deleteTag = deleteTag;
		this.expandBar1 = expandBar1;
		this.expandBar2 = expandBar2;
		this.roleAuthorities = roleAuthorities;
		this.communeMemberinfos = communeMemberinfos;
	}

	// Property accessors

	public Integer getOrganizationRoleId() {
		return this.organizationRoleId;
	}

	public void setOrganizationRoleId(Integer organizationRoleId) {
		this.organizationRoleId = organizationRoleId;
	}

	public Massorganization getMassorganization() {
		return this.massorganization;
	}

	public void setMassorganization(Massorganization massorganization) {
		this.massorganization = massorganization;
	}

	public String getOrganizationRoleName() {
		return this.organizationRoleName;
	}

	public void setOrganizationRoleName(String organizationRoleName) {
		this.organizationRoleName = organizationRoleName;
	}

	public Short getOrganizationRoleNameRoleLeavel() {
		return this.organizationRoleNameRoleLeavel;
	}

	public void setOrganizationRoleNameRoleLeavel(
			Short organizationRoleNameRoleLeavel) {
		this.organizationRoleNameRoleLeavel = organizationRoleNameRoleLeavel;
	}

	public Timestamp getLastUpdateTime() {
		return this.lastUpdateTime;
	}

	public void setLastUpdateTime(Timestamp lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public Boolean getDeleteTag() {
		return this.deleteTag;
	}

	public void setDeleteTag(Boolean deleteTag) {
		this.deleteTag = deleteTag;
	}

	public String getExpandBar1() {
		return this.expandBar1;
	}

	public void setExpandBar1(String expandBar1) {
		this.expandBar1 = expandBar1;
	}

	public String getExpandBar2() {
		return this.expandBar2;
	}

	public void setExpandBar2(String expandBar2) {
		this.expandBar2 = expandBar2;
	}

	public Set getRoleAuthorities() {
		return this.roleAuthorities;
	}

	public void setRoleAuthorities(Set roleAuthorities) {
		this.roleAuthorities = roleAuthorities;
	}

	public Set getCommuneMemberinfos() {
		return this.communeMemberinfos;
	}

	public void setCommuneMemberinfos(Set communeMemberinfos) {
		this.communeMemberinfos = communeMemberinfos;
	}

}